<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
		
	<head>		
		<title>Login</title>
	</head>
	
	<body>		
		<h:form>
			<table border="1" width="50%">
			
				<tr>
					<td colspan="2">#{loginMBean.result}</td>
				</tr>
				
				<tr>
					<td colspan="2"></td>
				</tr>			
			
				<tr>
					<td>usu&aacute;rio:</td><td><h:inputText id="usuario" value="#{loginMBean.usuario}" /></td>
				</tr>
				<tr>
					<td>senha:</td><td><h:inputSecret id="senha" value="#{loginMBean.senha}" /></td>
				</tr>
				
				<tr>
					<td colspan="2">
						<h:commandButton action="#{loginMBean.login}" value="login">  
	<!-- 						<f:param name="id" value="#{produto.id}" />   -->
						</h:commandButton>
					</td>
				</tr>
			</table>
		</h:form>		
	</body>	
</html>

